package cn.besbing.server.controllers.pages;

import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("errors")
@Controller
public class SystemControllers  {

    /*druid sql监控界面，当前失效*/
    @GetMapping("/druid/monitor")
    public String druid(){
        return "sql";
    }


    @GetMapping("401")
    public String error401(){
        return "pages/errors/401";
    }

    @GetMapping("403")
    public String error403(){
        return "pages/errors/403";
    }

    @GetMapping("404")
    public String error404(){
        return "pages/errors/404";
    }

    @GetMapping("406")
    public String error406(){
        return "pages/errors/406";
    }

    @GetMapping("408")
    public String error408(){
        return "pages/errors/408";
    }

    @GetMapping("500")
    public String error500(){
        return "pages/errors/500";
    }



}
